﻿using Domain.Entity.Config;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository.IConfig
{
    /// <summary>
    /// 职位发表登记表
    /// </summary>
    public interface IEngage_major_releaseRepository
    {

        // 查询
       Task< List<Engage_major_release>> GetEMR();

        // 添加
        Task<int> AddEMRAsync(Engage_major_release engage_Major_Release);

        // 修改
        Task<int> UpdateEMRAsync(Engage_major_release engage_Major_Release);

        // 删除
        Task<int> DeleteEMRAsync(int Id);

        Task<List<Engage_major_release>>GetList(int page,int pageSize);
        Task<int> GetCount();
    }
}
